package com.yyy.dm.provider.service;

import com.yyy.dm.dao.ItemMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ItemProviderService {

    @Resource
    private ItemMapper itemMapper;

    public String findItemNameById(Long itemId){
        return itemMapper.selectById(itemId).getItemName();
    }
}
